package com.gimi.cloud.bbp.common.constant;

/**
 * Redis
 * @author lilinfeng
 */
public class RedisKeyConstant {
	/*************************系统相关通用配置start****************************/
	/** 系统配置redis存储键前缀*/
	public static final String BBP_CONFIG_PREFIX ="bbp:config:";
	/** aliOss文件存储配置*/
	public static final String CONFIG_KEY_PUBLIC_ALIOSS_PATH = "aliOssPathConfig";
    /** 图形验证码redis存储前缀*/
    public static final String PUBLIC_VALIDATE_CODE_PREFIX = "bbp:public:validateCode:";
    /*********通用相关配置表key值 Start*********/
    /** 图形验证码生成规则配置*/
    public static final String CONFIG_KEY_MANAGE_VALIDATE_CODE_RULE = "validateCodeRule";
    
    public static final String ALI_PAY_CONFIG = "aliPayConfig";
    /*********通用相关配置表key值 End*********/
	/*************************系统相关通用配置 end****************************/

	/*************************接口平台相关RedisKey start****************************/
	/** 第三方接口相关redisKey前缀*/
	public static final String INTERFACE_PREFIX = "bbp:public:interface:";
	/** 接口平台相关redisKey前缀*/
	public static final String INTERFACE_PLATFORM_PREFIX = RedisKeyConstant.INTERFACE_PREFIX + "platform:";
	/** 接口平台存放token的redisKey*/
	public static final String INTERFACE_PLATFORM_TOKEN = RedisKeyConstant.INTERFACE_PLATFORM_PREFIX + ":token";
	/** 蜂巢社保redisKey*/
	public static final String INTERFACE_PLATFORM_UNIVERSAL_SOCIALSECURITY = RedisKeyConstant.INTERFACE_PLATFORM_PREFIX +"universal_socialSecurity";
	/** 蜂巢社保支持城市 redisKey*/
	public static final String INTERFACE_PLATFORM_FENGCHAO_SHEBAO_CITY = RedisKeyConstant.INTERFACE_PLATFORM_PREFIX+"fengchao_shebao_city";
	/*************************接口平台相关RedisKey end****************************/

	/*****************************Manange相关redis  start******************************************/
	/** Manage相关的redis存储键前缀*/
	public static final String MANAGE_PREFIX = "bbp:manage:";
	/** Manage配置用户登录信息redis Key bbp:manage:user:*/
	public static final String MANAGE_LOGIN_MASTER_PREFIX = RedisKeyConstant.MANAGE_PREFIX +"master:";
	/** Manage用户登录token信息，redisKey*/
	public static final String MANAGE_LOGIN_MASTER_TOKEN_PREFIX = RedisKeyConstant.MANAGE_PREFIX +"master:token:";
	/** Manage管理员登录权限信息，RedisKey*/
	public static final String MANAGE_LOGIN_MASTER_PERMISSION_PREFIX = RedisKeyConstant.MANAGE_PREFIX +"master:permission:";;
	/**********************Manage相关配置表key值 start**********************/
	/** Manage配置用户token生成规则*/
	public static final String CONFIG_KEY_MANAGE_USER_TOKEN_RULE = "manageTokenRule";
	/** Manage配置开放Service  Key*/
	public static final String CONFIG_KEY_MANAGE_OPEN_SERVICE = "manageOpenService";
    /**********************Manage相关配置表key值 end**********************/
	/*****************************Manange相关redis  end******************************************/




	/*****************************APP相关redis start******************************************/
	/** APP相关的redis存储键前缀*/
	public static final String APP_PREFIX = "bbp:app:";
	/** 用户token信息*/
	public static final String APP_USER_TOKEN_PREFIX = RedisKeyConstant.APP_PREFIX + "user:token:user_";
	/** 用户验证码redis存储键前缀*/
	public static final String APP_VALIDATE_CODE_PREFIX = RedisKeyConstant.APP_PREFIX +"validateCode:";
	/** APP首页缓存RedisKey*/
	public static final String APP_HOME_PAGE_PREFIX =  RedisKeyConstant.APP_PREFIX +"homePage:";
	/**********************APP相关配置表key值 start**********************/
	/** APP配置用户token生成规则*/
	public static final String CONFIG_KEY_APP_USER_TOKEN_RULE = "userTokenRule";
	/** APP配置开放Service  Key*/
	public static final String CONFIG_KEY_APP_OPEN_SERVICE = "appOpenService";
	/** 极光推送配置*/
	public static final String CONFIG_KEY_APP_JIGUANG_PUSH = "interface_jiguang_push";
	/** 协议相关路径*/
	public static final String CONFIG_KEY_APP_AGREEMENT_PATH_INFO = "agreementUrl";
	/**订单配置*/
	public static final String CONFIG_KEY_APP_ORDER_CONFIG = "orderConfig";
	/** 短信配置*/
	public static final String CONFIG_KEY_APP_SMS = "smsConfig";
	/** 阿里OSS帐号信息*/
	public static final String CONFIG_ALIOSS_ACCOUNT ="aliOssAccount";
	/**********************APP相关配置表key值 end**********************/
	/*****************************APP相关redis  end******************************************/

	
	/** app开放服务 */
	public static final String APP_PAGE_CACHE = "bbp:cache:page:";
	
}